#!/bin/bash

mpstat $1 $2

awk '\
BEGIN	{ print $10}\
END		{ print "done"}\
'
done >output.dat
